package com.linkstec.bookshop.pojo;

/**
 * 
 * @ClassName: User 数据库表user的实体类
 * @Description:TODO
 * @author: JGQiang
 * @date: 2018年11月22日 上午11:32:28
 */
public class User {

	private int userId;// id

	private String uname;// 账户名

	private String pwd;// 密码

	private int accountId;// 账户ID

	private String email;// 邮箱

	private String phone;// 电话

	private String address;// 地址

	private int state;// 账户状态

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", uname=" + uname + ", pwd=" + pwd + ", accountId=" + accountId + ", email="
				+ email + ", phone=" + phone + ", address=" + address + ", state=" + state + "]";
	}

}
